<template lang="html">
    <div class="">
        <div class="">
            com1
        </div>
        <div class="">
            <button type="button" name="button" @click="add">增加2</button>
        </div>
    </div>
</template>

<script>
import {
	mapMutations
} from 'vuex'
export default {
	methods: {
		...mapMutations([
			'increment'
		]),
		add() {
			this.increment(2);
		}
	}
}
</script>

<style lang="css">
</style>
